cmake_minimum_required(VERSION 3.0.2)
project(moveit_tutorial)
add_compile_options(-std=c++17)

find_package(catkin REQUIRED COMPONENTS
  geometric_shapes
  moveit_ros_planning
  moveit_ros_planning_interface
  moveit_core
)

find_package(Eigen3 REQUIRED)
find_package(Boost REQUIRED system filesystem date_time thread)

catkin_package(
  INCLUDE_DIRS 
  LIBRARIES 
  CATKIN_DEPENDS moveit_ros_planning_interface moveit_core
  DEPENDS EIGEN3
)

include_directories(
  include
  ${catkin_INCLUDE_DIRS}
  ${Boost_INCLUDE_DIR} 
  ${EIGEN3_INCLUDE_DIRS}
)

add_executable(moveit_tutorial src/moveit_tutorial.cpp)

target_link_libraries(moveit_tutorial ${catkin_LIBRARIES} ${Boost_LIBRARIES})

